package com.home.fansea.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
 * @Projectname: MiniXYIot
 * @Filename: ImgProtectConfig
 * @Author: FANSEA
 * @Data:2024/5/20 21:46
 */


@Data
@Configuration
@ConfigurationProperties(prefix = "img-protect")
public class ImgProtectConfig {
    private boolean enable;

    private boolean allowBrowser;

    private String allowedReferer;
}
